import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import TestKeyboard from '@/test/TestKeyboard'
import TestLine from '@/test/TestLine'
import TestMixChart from '@/test/TestMixChart'

import TestStackedArea from '@/test/TestStackedArea'
import TestCpu from '@/test/TestCpu'
import Grid from '@/components/Grid'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'APP'
    },
    {
      path: '/keyboard',
      name: 'TestKeyboard',
      component: TestKeyboard
    },
    {
      path: '/line',
      name: 'TestLine',
      component: TestLine
    },
    {
      path: '/mixChart',
      name: 'TestMixChart',
      component: TestMixChart
    },
    {
      path: '/StackedArea',
      name: 'TestStackedArea',
      component: TestStackedArea
    },
    {
      path: '/cpu',
      name: 'TestCpu',
      component: TestCpu
    },
    {
      path: '/grid',
      name: 'Grid',
      component: Grid
    }
  ]
})
